using System.Collections.Generic;
using Admin.NET.Core;
using SqlSugar;

namespace Admin.NET.Application.Entity.Business;

[SugarTable("CustomRoomBill", "自定义房间账单")]
[SysTable]
public class CustomRoomBill : EntityTenant
{
	public string Name { get; set; }

	/// <summary>
	/// 账单模板id
	/// </summary>
	public long BillTemplateId { get; set; }

	/// <summary>
	/// 房间id
	/// </summary>
	public long RoomId { get; set; }

	/// <summary>
	/// 用户id
	/// </summary>
	public long? OwnerId { get; set; }

	/// <summary>
	/// 账单类别
	/// </summary>
	[SugarColumn(IsJson = true, ColumnDataType = "jsonb", IsNullable = true)]
	public List<CustomBill> Bills { get; set; }

	/// <summary>
	/// 账单状态0未下发，1已下发，2已关闭
	/// </summary>
	public int Status { get; set; }

	/// <summary>
	/// 备注
	/// </summary>
	public string? Remark { get; set; }
}
